-
Home
-
Booking Weir
-
1.0.0
-
Code
-
Classes
- Booking
Total Complexity |
145 |
Dependencies |
9 |
Dependents |
2 |
Total lines |
832 |
Lines of code |
562 |
Logical lines of code |
298 |
Comment lines |
187 |
Methods |
27 |
Properties |
9 |
Methods 27
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
validate_booking() |
C |
37 |
26 |
73 |
sanitize_booking() |
B |
41 |
20 |
52 |
run() |
A |
46 |
15 |
38 |
validate_fields() |
A |
46 |
11 |
41 |
parse_booking() |
A |
43 |
6 |
54 |
validate_extras() |
S |
55 |
7 |
18 |
handle_confirmation() |
S |
51 |
6 |
26 |
create_booking() |
S |
48 |
5 |
34 |
validate_price() |
S |
51 |
5 |
26 |
find_booking() |
S |
51 |
5 |
26 |
add_booking_errors() |
S |
58 |
5 |
15 |
get_default_fields_values() |
S |
62 |
5 |
12 |
display_status() |
S |
49 |
3 |
35 |
get_admin_info() |
S |
49 |
3 |
34 |
include_selected_booking() |
S |
63 |
4 |
11 |
maybe_redirect() |
S |
64 |
3 |
11 |
noindex() |
S |
73 |
2 |
5 |
is_booking_submitted() |
S |
78 |
2 |
3 |
get_submitted_booking() |
S |
71 |
2 |
6 |
is_booking_selected() |
S |
78 |
2 |
3 |
get_selected_booking() |
S |
70 |
2 |
6 |
__construct() |
S |
67 |
1 |
8 |
register() |
S |
72 |
1 |
5 |
handle_payment() |
S |
80 |
1 |
3 |
get_event() |
S |
82 |
1 |
3 |
get_admin_link() |
S |
69 |
1 |
7 |
get_admin_button() |
S |
69 |
1 |
7 |